package locations.actions;

import locations.model.Servicio;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public class NewServiceAction extends ActionSupport implements ModelDriven<Servicio> 
{
    private static final long serialVersionUID = -8124967730231198191L;
    private Servicio service = new Servicio();
    private String pageTitle = "Editar servicio";

    public String execute()
    {
        return SUCCESS;
    }

    public Servicio getService()
    {
        return service;
    }

    public void setService(Servicio service)
    {
        this.service = service;
    }

    @Override
    public Servicio getModel()
    {
        return this.service;
    }
}